package com.example.customer.remote;


import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "eureka-client",fallback = ClientRemoteHystrix.class)
public interface ClientRemote {

    @RequestMapping("/test/hello")
    public String hello(@RequestParam String hello);
}
